package exsun.jt808.data.distribute_data.jt1078;

import exsun.jt808.data.distribute_data.DistributeEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件上传指令
 */
public class FileUploadReq extends DistributeEntity implements Serializable {
    /**
     * 服务器ip
     */
    private String ip;

    /**
     * 服务器端口
     */
    private int port;
    /**
     * 用户名
     */
    private String ftpUserName;
    /**
     * 密码
     */
    private String ftpPassWord;
    /**
     * 文件路径
     */
    private String path;
    /**
     * 通道号
     */
    private int chanelId;
    /**
     * 开始时间
     */
    private Date beginTime;
    /**
     * 结束时间
     */
    private Date endTime;
    /**
     * Gps报警标志
     */
    private int gpsAlarmFlag;
    /**
     * 视频报警标志
     */
    private int mediaAlarmFlag;

    /**
     * 音视频资源类型
     * 0音视频 1音频 2视频 3音频或视频
     */
    private int mediaType;
    /**
     * 码流类型
     * 0主码流或子码流 1主码流 2子码流
     */
    private int codeType;
    /**
     * 存储位置
     *  0主存储器或灾备存储器 1主存储器 2灾备存储器
     */
    private int storageType;

    /**
     * 任务执行条件
     * 1:wifi下可下载, 2:Lan连接时可下载, 4:3G/4G可下载
     */
    private int taskCondition;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getFtpUserName() {
        return ftpUserName;
    }

    public void setFtpUserName(String ftpUserName) {
        this.ftpUserName = ftpUserName;
    }

    public String getFtpPassWord() {
        return ftpPassWord;
    }

    public void setFtpPassWord(String ftpPassWord) {
        this.ftpPassWord = ftpPassWord;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getChanelId() {
        return chanelId;
    }

    public void setChanelId(int chanelId) {
        this.chanelId = chanelId;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getGpsAlarmFlag() {
        return gpsAlarmFlag;
    }

    public void setGpsAlarmFlag(int gpsAlarmFlag) {
        this.gpsAlarmFlag = gpsAlarmFlag;
    }

    public int getMediaAlarmFlag() {
        return mediaAlarmFlag;
    }

    public void setMediaAlarmFlag(int mediaAlarmFlag) {
        this.mediaAlarmFlag = mediaAlarmFlag;
    }

    public int getMediaType() {
        return mediaType;
    }

    public void setMediaType(int mediaType) {
        this.mediaType = mediaType;
    }

    public int getCodeType() {
        return codeType;
    }

    public void setCodeType(int codeType) {
        this.codeType = codeType;
    }

    public int getStorageType() {
        return storageType;
    }

    public void setStorageType(int storageType) {
        this.storageType = storageType;
    }

    public int getTaskCondition() {
        return taskCondition;
    }

    public void setTaskCondition(int taskCondition) {
        this.taskCondition = taskCondition;
    }
}
